﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/css/global.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/css/main.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/cic-main-fu.js")" type="text/javascript"></script>
    <style type="text/css">
        a.LogOut:hover
        {
            color: #FFFFFF;
        }
        a.LogOut
        {
            color: #87CEFA;
        }
    </style>
</head>
<body>
    <div class="All_top">
        <div class="headpart ui-icons">
            <p>
                <i>欢迎</i>,
                @{
                    
                    Wicresoft.SelfService.BL.ITServiceHelper helper = new Wicresoft.SelfService.BL.ITServiceHelper();
                    Wicresoft.SelfService.DAO.UserInfo UI = helper.getUserInfo_By_AccountID(System.Web.HttpContext.Current.User.Identity.Name);                    
                    @UI.userName;
                   
                }
                <a class="LogOut" href="@Url.Action("LogOut", "Account")">[注销]</a>
                <a class="LogOut" href="@Url.Action("ChangeInfo","Account")">&nbsp;[帐号管理]</a>
            </p>
        </div>
    </div>
    <div class="center">
        <div class="box">
            <div class="center_box_bg">
                <div class="menu">
                    <ul>
                        <li class=""><span class="item_B ui-icons"></span><a href="@Url.Action("Index", "WorkList")">工作列表</a></li>
                        <li class="li_width">|</li>
                        <li class=""><span class="item_A ui-icons"></span><a href="@Url.Action("Index", "ITService")">IT 服务</a></li>
                        <li class="li_width">|</li>
                        <li class=""><span class="item_C ui-icons"></span><a href="@Url.Action("Index", "Knowledge")">知识库</a></li>
                        @{
                            Wicresoft.SelfService.DAL.ITServiceDAL itDAL = new Wicresoft.SelfService.DAL.ITServiceDAL();
                            if (itDAL.isAdmin(System.Web.HttpContext.Current.User.Identity.Name) && @UI.company == "福建省烟草专卖局")
                            {
                                <li class="li_width">|</li>
                                <li class=""><span class="item_C ui-icons"></span><a href="@Url.Action("ConfigurationIndex", "ITService")">配置人员</a></li>
                                <li class="li_width">|</li>
                                <li class=""><span class="item_C ui-icons"></span><a href="@Url.Action("ClassifyMaintain", "ServiceMaintain")">分类维护</a></li>
                                <li class="li_width">|</li>
                                <li class="item_no ui-icons"><span class="item_C ui-icons"></span><a href="@Url.Action("BreakMaintain", "BDMaintain")">故障维护</a></li>
                                <li class="item_no_b ui-icons"></li>
                                <li class="li_width">|</li>
                                <li class=""><span class="item_C ui-icons"></span><a href="@Url.Action("Index", "OSMaintain")">OS维护</a></li>
                                <li class="li_width"></li>
                            
                            }
                            else if (itDAL.isAdmin(System.Web.HttpContext.Current.User.Identity.Name))
                            {
                            
                                <li class="li_width">|</li>
                                <li class=""><span class="item_C ui-icons"></span><a href="@Url.Action("ConfigurationIndex", "ITService")">配置人员</a></li>
                                
                            }
                          }


                    </ul>
                    <!--
                    <p class="btn_en">
                        <a href="" class="ui-icons"></a>
                    </p>
                    -->
                </div>
            </div>
            <div>
                @RenderBody()
            </div>
        </div>
    </div>
    <div class="clear"> </div> <div class="foot"> <div class="ui-icons footcenter">
    <div class="foot_main"> © 2012 福建烟草. All Rights Reserved.</div> </div> </div>
</body>
</html>
